The handleevent routine has been modified to take care of the new graphics oriented events, and three methods have been added for graphics functionality. Each of the Graph methods calls the corresponding method in all gViews within that window. ChangeBounds has been over-ridden to allow for correct handling of moving graphics windows.
Now for the gView :
PASCAL :
pgView = ^gView;
gView = object(TView)
GraphWindowId:byte; (* The graphics window Id for this view *)